import Vue from "vue";
import VueRouter from "vue-router";


Vue.use(VueRouter);

const routes = [
  {
    path: "/login",
    name: "login",
    component: ()=>import("../pages/login/index.vue"),
  },
  {
    path: "/home",
    name: "home",
    component: ()=>import("../pages/home/index.vue"),
  },
];

const router = new VueRouter({
  routes,
});

export default router;
